package com.cskaoyan.bean.topic;

import com.cskaoyan.bean.po.MarketTopic;

import java.util.List;

public class TopicDate {
    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;

    private List<MarketTopic> list;

    public static TopicDate date(long total,Integer pages,Integer limit,Integer page,List list){
        TopicDate topicDate = new TopicDate();
        topicDate.setTotal((int)total);
        topicDate.setPages(pages);
        topicDate.setPage(page);
        topicDate.setLimit(limit);
        topicDate.setList(list);
        return topicDate;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public List<MarketTopic> getList() {
        return list;
    }

    public void setList(List<MarketTopic> list) {
        this.list = list;
    }
}
